package com.example.mybatisplus.mapper;

import com.example.mybatisplus.model.domain.Students;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author lxp
 * @since 2024-07-24
 */
@Repository
public interface StudentsMapper extends BaseMapper<Students> {
    @Select("SELECT * FROM students WHERE student_id = #{studentId}")
    Students selectByStudentId(String studentId);
}
